[index]

SnapToGrid Property

Syntax

set the snapToGrid to <boolean> Applies to global
Description: NOT AVAILABLE IN THE PLAYER The snapToGrid property determines whether objects and painting on cards and backgrounds are aligned to an invisible grid when created, resized, or moved. If snapToGrid is set to true, objects that are subsequently created, resized, or moved are automatically aligned to a grid whose size is determined by setting the gridSize and rulerStyle properties.

Examples

Create a button and then type the following into the Message Box and press Enter: set the snapToGrid to true Try moving the button. Note that it moves in steps (that correspond to the gridSize property). Now type the following into the Message Box and press Enter: set the snapToGrid to false
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.